gitlab-rails runner 'user = User.new; user.email = "test@example.com"; user.name = "test"; user.username = "test"; user.password = "password"; user.access_level="admin"; user.confirmed_at = Time.zone.now; user.save!' 如果是docker使用bin/rails runner
gitlab-rails runner 'user = User.new; user.email = "test@example.com"; user.name = "test"; user.username = "test"; user.password = "password"; user.access_level="admin"; user.confirmed_at = Time.zone.now; user.save!'
bin/rails runner